package com.transpot.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.transpot.entry.order.Agreement;
import com.transpot.entry.order.AgreementCustomerVO;

/**
 * 合同类service层接口
 */
public interface AgreementService extends IService<Agreement> {
    /**
     * 根据合同id去查找合同和客户信息的接口
     * @param id
     * @return
     */
    AgreementCustomerVO getAgreementAndCustomer(Integer id);

    /**
     * 根据id删除合同信息的接口
     * @param id
     * @return
     */
    boolean deleteAgreementById(Integer id);
}
